package com.designschool.base.download;

import java.io.Serializable;

/***
 * 
 * @��Ŀ��:base  
 * 
 * @����:Downloadinfo.java  
 * 
 * @������:ʯ��ͬ
 *
 * @������:������Ϣ��
 * 
 * @date:2013-11-20
 * 
 * @Version:1.0 
 *create table download_info(_id integer PRIMARY KEY AUTOINCREMENT, thread_id integer, "
                + "progess integer, fizesize integer, title varchar(100),url varchar(150),status varchar(10))"
 *****************************************
 */
public class Downloadinfo implements Serializable{
    
    public int _id=0;
    public int thread_id=1;
    public int progess=0;
    public int fizesize=0;
    public String title="";
    public String url="";
    public String status="下载中";
    public String id="";
    public int start_pos=0;
    public int end_pos=0;
    public String filepath="";

    /***
     * ��ʼ�����췽�������
     */
    public Downloadinfo(){
        
    }
    /***
     * ��ʼ����ݵĹ��췽��
     * @param thread_id
     * @param start_pos
     * @param end_pos
     * @param fizesize
     * @param title
     * @param id
     * @param url
     * @param filepath
     */
    public Downloadinfo(int thread_id,int start_pos,int end_pos,int fizesize,String title,String id,String url,String filepath)
    {
        this.id=id;
        this.thread_id=thread_id;
        this.start_pos=start_pos;
        this.end_pos=end_pos;
        this.fizesize=fizesize;
        this.url=url;
        this.title=title;
        this.filepath=filepath;
    }
}
